using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using AntDesign;
using AntDesign.Charts;
using AntDesign.ProLayout;
using System.Net.Http;
using System.Net.Http.Json;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Http;
using Microsoft.JSInterop;
using ZFY.UMC.BlazorWebAssembly;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using ZFY.UMC.BlazorWebAssembly.Shared;
using Microsoft.AspNetCore.Components.Authorization;

namespace ZFY.UMC.BlazorWebAssembly.Components
{
    public partial class MessageDropDown
    {
        public class BasicItem
        {
            public string Title { get; set; }
        }

        public List<BasicItem> data = new List<BasicItem>{new BasicItem{Title = "Ant Design Title 1"}, new BasicItem{Title = "Ant Design Title 2"}, new BasicItem{Title = "Ant Design Title 3"}, new BasicItem{Title = "Ant Design Title 4"}, };



        public void ItemClick(BasicItem item)
        {
            Console.WriteLine($"item was clicked: {item.Title}");
        }
    }
}